package com.eascs.afterloancheck.dao;

import com.eascs.afterloancheck.entity.CheckLoanEntity;
import com.eascs.afterloancheck.form.CheckLoanQueryForm;
import com.eascs.app.dao.PageResult;

public interface LoanCheckDao {
	public PageResult<Object[]> queryListPage(CheckLoanQueryForm form);

	public CheckLoanEntity insertCheckLoanEntity(CheckLoanEntity entity);

	public CheckLoanEntity queryEntityById(String parameter);

	public boolean processRevisitStart(String parameter);

	public CheckLoanEntity queryEntityByReferId(String parameter);

	public boolean updateEntityById(CheckLoanEntity entity);

	public boolean updateRevisitWfStatus(String parameter, int wfStatus);

	public boolean checkCodeAttachment(String loanapplyNo, String code);

	public Integer queryLoanNum(String loanId);

	public PageResult<Object[]> listCheckLoanEntity(String billCode);

	public Boolean isStartFlow(String billCode);

	public CheckLoanEntity queryEntityByBillCode(String billCode);

	public Boolean deleteEntity(CheckLoanEntity entity);

	public boolean updateCreateTime(String parameter);

}
